import request from '@/utils/request'

export function getPage(data) {
  return request({
    url: '/systemValue/getPage',
    method: 'post',
    data
  })
}

export function saveData(data) {
  return request({
    url: '/systemValue/saveData',
    method: 'post',
    data
  })
}

export function editData(data) {
  return request({
    url: '/systemValue/editData',
    method: 'post',
    data
  })
}

export function updateState(data) {
  return request({
    url: '/systemValue/updateState',
    method: 'post',
    params: data
  })
}

export function getInfo(data) {
  return request({
    url: '/systemValue/getInfo',
    method: 'get',
    params: data
  })
}
